package com.yuke.cloud.service.api.wmc.dto;

import com.yuke.cloud.service.api.omc.dto.OdsTeamSpecInfoDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

/*
 * <p>Company: Copyright (c) 2018. yuke All Rights Reserved. </br> </p>
 * <p>Title：yukemall </br> </p>
 * <p>com.yuke.cloud.service.api.pmc.dto Description TODO </br> </p>
 * @Author wg
 * @Date   2019/6/24 17:16
 */
@Data
@ApiModel(value="com.yuke.cloud.service.api.wmc.dto.StorageSpecInfoDto")
public class StorageSpecInfoDto {
    @ApiModelProperty(value = "storageId主键，自增")
    private Long  storageId;

    @ApiModelProperty(value = "商品所在仓库ID")
    private Long warehouseId;

    @ApiModelProperty(value = "商品所在仓库名称")
    private String warehouseName;

    @ApiModelProperty(value = "商品所在仓库的部门ID")
    private Long groupId;

    @ApiModelProperty(value = "商品分类ID")
    private Long categoryId;

    @ApiModelProperty(value = "品牌ID")
    private Long brandId;

    @ApiModelProperty(value = "商品分类名称")
    private String categoryName;

    @ApiModelProperty(value="商品ID，自增")
    private Long productId;

    @ApiModelProperty(value="商品名称")
    private String productName;

    @ApiModelProperty(value="供应商ID")
    private Long supplierId;

    @ApiModelProperty(value="供应商名称")
    private String supplierName;

    @ApiModelProperty(value="specId主键，自增")
    private Long specId;

    @ApiModelProperty(value="factoryId")
    private Long factoryId;

    @ApiModelProperty(value="regionId")
    private Long regionId;

    @ApiModelProperty(value="specName商品名称")
    private String specName;

    @ApiModelProperty(value="specCode商品货号")
    private String specCode;

    @ApiModelProperty(value="unitType单位类型，0：未知，1：克，2：毫升，3：箱，4：袋，5：盒，6：瓶，7：罐，8：件，9：条，10：支，11：台，12，双。")
    private Byte unitType;

    @ApiModelProperty(value="introduce商品详情")
    private String introduce;

    @ApiModelProperty(value="salePrice自定义售价，价格单位为分")
    private Integer salePrice;

    @ApiModelProperty(value="marketPrice入库价格，价格单位为分")
    private Integer marketPrice;

    @ApiModelProperty(value="stockPrice入库价格，价格单位为分")
    private Integer stockPrice;

    @ApiModelProperty(value="memberPrice会员价格，价格单位为分")
    private Integer memberPrice;

    @ApiModelProperty(value="specialPrice特供价格，价格单位为分")
    private Integer specialPrice;

    @ApiModelProperty(value = "图片地址")
    private String picture;

    @ApiModelProperty(value = "大图图片地址")
    private String bigPicture;

    @ApiModelProperty(value = "商品月销量")  // 总销量
    private Long saleCount;

    @ApiModelProperty(value = "商品的重量")
    private Integer weight;

    @ApiModelProperty(value = "商品的库存量")
    private Integer stockCount;

    @ApiModelProperty(value = "商品的库存量")
    private Integer number;

    @ApiModelProperty(value="lockNumber商品数量")
    private Integer lockNumber;

    @ApiModelProperty(value = "是否为新品")
    private Boolean isNew;

    @ApiModelProperty(value = "是否启用")
    private Boolean isEnable;

    @ApiModelProperty(value = "是否为推荐商品")
    private Boolean isRecommend;

    @ApiModelProperty(value = "是否为厂家直销")
    private Boolean isFactory;

    @ApiModelProperty(value = "是否支持分销")
    private Boolean isRetail;

    @ApiModelProperty(value = "指导价")
    private Integer guidancePrice;

    @ApiModelProperty(value = "商品描述")
    private String description;

    @ApiModelProperty(value = "是否为搭赠活动")
    private Boolean hasTying;

    @ApiModelProperty(value = "搭赠商品id")
    private Long giftSpecId;

    @ApiModelProperty(value = "是否打折")
    private Integer hasDiscount;

    @ApiModelProperty(value = "是否满减")
    private Integer hasReduction;

    @ApiModelProperty(value = "是否返利")
    private Integer hasRebate;

    @ApiModelProperty(value = "是否为秒杀活动商品")
    private Boolean isSecKill;

    @ApiModelProperty(value = "秒杀商品价格")
    private Integer secKillPrice;

    @ApiModelProperty(value = "秒杀活动结束时间")
    private Date secKillEndTime;

    @ApiModelProperty(value = "商品所在城市ID")
    private Long wareCityId;

    @ApiModelProperty(value = "商品所在城市名称，包括省份")
    private String wareCityName;

    // 查询条件
    @ApiModelProperty(value = "销售类型")
    private Byte saleType;  // 1: 零售，2：批发

    @ApiModelProperty(value = "品牌筛选")
    private List<Long> brandList;

    @ApiModelProperty(value = "价格排序方式")
    private String sortPriceType;  // asc: 价格升序，desc：价格降序

    @ApiModelProperty(value = "销量排序方式")
    private String sortCountType;  // asc: 销量升序，desc：销量降序

    @ApiModelProperty(value = "销量排序方式")
    private String sortStockType;  // asc: 库存升序，desc：库存降序

    @ApiModelProperty(value = "类筛选")
    private List<Long> categoryList;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "排序")
    private Integer sort;

    private List<Long> specIds;

    @ApiModelProperty(value="收藏ID(favoriteIdID)，自增")
    private Long favoriteId;

    @ApiModelProperty(value = "生产日期")
    private Date mfgDate;

    @ApiModelProperty(value="shopId")
    private Long shopId;

    @ApiModelProperty(value="bigPicUri")
    private String bigPicUri;

    private  Integer page;

    private  Integer size;

    private  Long total;

    private OdsTeamSpecInfoDto odsTeamSpecInfoDto;
}
